package com.dm.cloud.images.service;

import com.github.dockerjava.api.command.InspectVolumeResponse;
import com.dm.cloud.images.mode.VolumeCreateRequest;
import com.dm.cloud.images.mode.VolumeDetail;

import java.util.List;

public interface VolumesService {
    VolumeDetail create(VolumeCreateRequest volumeCreateRequest);

    List<VolumeDetail> list(String name,String nodeId);

    Boolean delete(String nodeId, String name);
}
